#include <header.h>
int main(int argc, char* argv[]){
	ARGS_CHECK(argc, 1);

	char *port = "8080";
	char *ip = "127.0.0.1";

	int fd = socket(AF_INET, SOCK_STREAM, 0);
	struct sockaddr_in sockaddr;
	sockaddr.sin_family = AF_INET;
	sockaddr.sin_port = htons(atoi(port));
	sockaddr.sin_addr.s_addr = inet_addr(ip);

	bind(fd, (struct sockaddr*)&sockaddr, sizeof sockaddr);

	listen(fd, 10);

	return 0;
}